From: Jerome Guidon Date: Sun, 10 Oct 2021 12:41:10 +0000 (+0200) Subject: luci-app-openvpn: add tls_crypt_v2 option for openvpn 2.5 X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=8f3b9c90a89ae0b5567b6374ab4a49ff42a779db;p=project%2Fluci.git luci-app-openvpn: add tls_crypt_v2 option for openvpn 2.5 So far tls_crypt_v2 is working on openwrt, but the option is missing in the gui. This patch adds the missing option. Signed-off-by: Jerome Guidon --- diff --git a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua index 51fe606336..c8a83d21f7 100644 --- a/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua +++ b/applications/luci-app-openvpn/luasrc/model/cbi/openvpn-advanced.lua @@ -750,6 +750,10 @@ local knownParams = { "tls_crypt", "/etc/openvpn/tlscrypt.key", translate("Encrypt and authenticate all control channel packets with the key") }, + { Value, + "tls_crypt_v2", + "/etc/openvpn/servertlscryptv2.key", + translate("Encrypt and authenticate all control channel packets with the key, version 2.") }, -- { Value, -- "askpass", -- "[file]",